#ifndef IVDSPAINT_H
#define IVDSPAINT_H

#include <QWidget>
#include "common.h"

class IVdsPaint : public QWidget
{
    Q_OBJECT
public:
    explicit IVdsPaint(QWidget* parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QWidget(parent, f) {}
    ~IVdsPaint() {}

signals:
    void paintDone();

public slots:
    virtual void onPaintChart(const VdsMeasureDataPtr data) = 0;
    virtual void onMeasureError(VdsError vdsError) = 0;
    virtual void onDataFileReady(const QString &path) = 0;
};

#endif // IVDSPAINT_H
